package com.example.yckjbigdataservice.model;

import lombok.Data;

import java.util.List;

@Data
public class QueryParams {

    private String titleKeyword;             // 模糊匹配
    private List<String> authors;            // 精确匹配，多个 OR
    private String exactTitle;               // 精确匹配
    private String publishTimeFrom;          // 格式：yyyy-MM-dd HH:mm:ss
    private String publishTimeTo;
    private int page = 1;
    private int size = 10;
    private String sortField = "publish_time";
    private boolean asc = false;             // 是否升序
}
